package com.evan.design.principle.demeter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author :liujiapeng01
 * @date :2019-03-21 10:35
 **/
public class TeamLeader {


    public void checkNumberOfCourse(){
        List<Course> courseList = new ArrayList<>();
        for (int i = 0; i < 20; i++) {
            courseList.add(new Course());
        }
        System.out.println("course size"+courseList.size());
    }
}
